home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19971216-19980424
/
000369_news@newsmaster….columbia.edu _Mon Mar 30 10:40:52 1998.msg
< prev
next >
Wrap
Internet Message Format
|
1998-04-22
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA29828
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 30 Mar 1998 10:40:52 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA06693
for kermit.misc@watsun; Mon, 30 Mar 1998 10:40:51 -0500 (EST)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Math Function Library
Date: 30 Mar 1998 15:40:48 GMT
Organization: Columbia University
Lines: 19
Message-ID: <6foee0$s5b$1@apakabar.cc.columbia.edu>
References: <6fhv3j$cc0$1@eskinews.eskimo.com>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:8569
In article <6fhv3j$cc0$1@eskinews.eskimo.com>, Enoch Wu <enochw@usa.net> wrote:
: I am sorry my news reader was not configured properly. Therefore I am
: reposting the following question:
:
: What math functions are available in C-kermit ?
:
In article <6fgr68$ref$1@eskinews.eskimo.com>, E <my@email.addr> wrote:
: I ran kermit 6 for the first time yesterday. I need to find out if kermit 6
: supports mathematical computation.
:
Yes it does (integer only). As noted on page 35 of "Using C-Kermit", you
can put an arithmetic expression (possibly containing variables) in most
places where you could put a number. Arithmetic expressions support regular
mathematical notation -- parentheses for grouping, fourteen different
arithmetic and logical operators with well-defined precedence, etc.
And as noted on page 394, there is also a selection of arithmetic functions.
Plus you can define your own functions, even recursive ones.
- Frank